<%@ taglib prefix="s" uri="/struts-tags" %>
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8" %>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://"
            + request.getServerName() + ":" + request.getServerPort()
            + path + "/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <base href="<%=basePath%>">

    <title>用户登陆</title>
    <meta http-equiv="pragma" content="no-cache">
    <meta http-equiv="cache-control" content="no-cache">
    <meta http-equiv="expires" content="0">
    <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
    <meta http-equiv="description" content="This is my page">
    <link type="text/css" rel="stylesheet" href="css/login.css"/>

</head>

<body>

    <div id="head">
        <a href="index.jsp" style="border: none;"><img src="../../img/logo.gif" style="border: none;"/></a>
    </div>


    <div id="content" >
        <h2>登录</h2>
        <hr/>
        <div id="content_picture"></div>
        <form method="post" action="Login.action">
            <table>
                <tr>
                    <td align="right">
                        用户名：
                    </td>
                    <td>
                        <input type="text" name="userName" value="" style="width: 200px;height: 25px;"/><br/>
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        密 码：
                    </td>
                    <td>
                        <input type="password" name="password" value="" style="width: 200px;height: 25px;" /><br/>
                        <%--默认两周 依赖cookie--%>
                    </td>
                </tr>
                <tr>
                    <td align="right">登陆身份：</td>
                    <td>
                        <select name="powerGroup" id="group" style="width: 205px;height: 25px;font-size: 18px;">
                            <option value="">--------请选择---------</option>
                            <option value="管理员">管理员</option>
                            <option value="教师">教师</option>
                            <option value="学生宿舍">学生宿舍</option>
                            <option value="宿舍管理部">宿舍管理部</option>
                        </select>
                    </td>
                </tr>
                <tr>
                    <td></td>
                    <td>
                        <input type="submit" value="登 录" onMouseOver="this.style.background='#2569c1'" onmouseout="this.style.background='#114a93'" style="cursor:pointer;font-weight:bold;margin-top:10px;border: none;background: #2569c1;color: white;font-size: 16px;" />

                        <div id="link">
                            <a href="page/dailyManagement/forgotPasswordMes.jsp" style="text-align:right;font-size: 14px;">忘记密码&nbsp</a>
                        </div>
                    </td>
                </tr>
            </table>
        </form>
    </div>

<div id="footer">
    <p style="text-align: center;color: #757575;padding: 20px 0px 0px 0px; font:12px;">Copyright © 2010-2013 蓝天白云团队版权所有</p>
</div>
</body>
</html>
